package md.sv.dbu.sender;

/**
 * Mock message sender, it does not send anything anywhere
 *
 * @author MG
 */
public class MockMessageSender implements MessageSender {

    @Override
    public boolean connect(String managerName, String queueName, boolean byteMessage) {
        return true; // always connect successfully
    }

    @Override
    public void close() {
        //nothing to do
    }

    @Override
    public void sendMessage(String message) {
        // nothing to save - maybe save to a file later
    }
}
